home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 August (Alt) / CHIP 2005-08.1.iso / program / guvenlik / syslinux-3.07.exe / menu / heap.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-02-25  |  456 b   |  20 lines

  1.  
  2. #ifndef _HEAP_H_
  3. #define _HEAP_H_
  4.  
  5. // How much space to reserve for the stack
  6. #define STACKSIZE (8*1024)
  7.  
  8. // Will an allocation of num bytes be successful?
  9. // We need this because we dont do any deallocation
  10. extern int checkalloc(unsigned int num); 
  11.  
  12. // Allocate so much space
  13. extern void * malloc(unsigned int num); 
  14.  
  15. // This is a nop for now may be future implementations will actually do something
  16. extern void free(void *); // Dealloc space. 
  17.  
  18. #endif
  19.  
  20.